package com.jet.merchant.service;

import com.jet.merchant.domain.dto.ClerkAccountRoleMapDto;
import com.jet.merchant.domain.entity.ClerkAccountRoleMap;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-02-25
 */
public interface IClerkAccountRoleMapService extends IService<ClerkAccountRoleMap> {

    void save(ClerkAccountRoleMapDto dto);

    ClerkAccountRoleMap findByAccountId(String accountId);

    List<ClerkAccountRoleMap> findAllByRoleId(String roleId);

    void deleteByAccountId(String accountId);
}
